home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 November: Tool Chest / Dev.CD Nov 98 TC.toast / Sample Code / Snippets / Development Tools & Languages / MouseInfo / UMouseInfo.h < prev    next >
Encoding:
Text File  |  1995-02-04  |  1.1 KB  |  60 lines  |  [TEXT/MPS ]

  1. //     UMouseInfo.h 
  2. //     Copyright © 1992 by Apple Computer, Inc. All rights reserved.
  3. //    Kent Sandvik DTS
  4. //    This file contains the TMapApplication class, the base application class
  5. //    for the MouseInfo application
  6. //    Version Info (latest first):
  7. //
  8. //    <1>        khs        1.0        First final version
  9. //    <2>        khs        1.0.1    Fixed a memory leak in TMapApplication::GetSleepValue()
  10.  
  11.  
  12. // INCLUDE FILES
  13.  
  14. #ifndef __UMOUSEINFO__
  15. #define __UMOUSEINFO__
  16.  
  17. #ifndef __INCLUDEFILES__
  18. #include "IncludeFiles.h"
  19. #endif
  20.  
  21. #ifndef __UMOUSEDOCUMENT__
  22. #include "UMouseDocument.h"
  23. #endif
  24.  
  25. #ifndef __UAPPFRAMEADORNER__
  26. #include "UAppFrameAdorner.h"
  27. #endif
  28.  
  29. //    Our About Box support
  30. #ifndef __ABOUT__
  31. #include "About.h"
  32. #endif
  33.  
  34. //    CLASSES
  35. //    TMapApplication, our application class
  36. DeclareClassDesc(TMapApplication);
  37.  
  38. class TMapApplication : public TApplication
  39. {
  40.  
  41.     DeclareClass(TMapApplication);
  42.  
  43. public:
  44.     TMapApplication();
  45.     virtual      void IMapApplication(OSType fileType,
  46.                                         OSType creator);
  47.     virtual      TDocument* DoMakeDocument(CommandNumber,
  48.                                              TFile*);
  49.  
  50.     virtual      void DoAboutBox();
  51.  
  52.     virtual      RgnHandle GetSleepRegion();
  53. };
  54.  
  55.  
  56.  
  57.  
  58. #endif
  59.  
  60.